﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cache
{
    /// <summary>
    /// 缓存配置类
    /// </summary>
    public class CacheConfig
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 数据库索引，从0开始
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// 连接字符串
        /// </summary>
        /// <value>The connection string.</value>
        public string ConnectionString { get; set; }

        /// <summary>
        /// 前缀
        /// </summary>
        public string Prefix { get; set; }
    }
}
